package com.shixun.milktea.mapper;

import com.shixun.milktea.entity.Mt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zrs
 * @since 2022-06-07
 */
public interface MtMapper extends BaseMapper<Mt> {
    Integer deleteByIds(@Param("sortId") Integer sortId);

    void updateMtNumById(@Param("mtIdAndNumMap") HashMap<Integer, Integer> mtIdAndNumMap);
}
